package com.ruoyi.map.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户意见反馈对象 advice_feedback
 *
 * @author dihang
 * @date 2023-08-14
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdviceFeedback extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 意见反馈主键id */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;
    /** 姓名 */
    @Excel(name = "姓名")
    private String name;
    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;
    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;
    /** 性别 0男 1女 */
    @Excel(name = "性别 0男 1女")
    private String gender;
    /** 反馈类型 0意见反馈 1功能反馈 */
    @Excel(name = "反馈类型 0意见反馈 1功能反馈")
    private String feedbackType;
    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String feedbackContent;
    /** 反馈满意度评价 */
    @Excel(name = "反馈满意度评价")
    private String feedbackSatisfactionEvaluation;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("age", getAge())
            .append("phone", getPhone())
            .append("gender", getGender())
            .append("feedbackType", getFeedbackType())
            .append("feedbackContent", getFeedbackContent())
            .append("feedbackSatisfactionEvaluation", getFeedbackSatisfactionEvaluation())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
        .toString();
    }
}
